# 数据库相关配置
DB_IP = "101.132.242.86"
DB_USER = "root"
DB_PASSWD = '123'
DB_NAME = 'word_press'

# wordpress相关配置
HOST = 'https://blog.xiaocaihua.cn/xmlrpc.php'
USER = 'cai_hua'
PASSWD = 'DAOSINIm.123'

# redis相关配置
REDIS_HOST = "101.132.242.86"
REDIS_PORT = 6379
# 保存解析的博客详情内容的hash数据结构
REDIS_BLOG_DETAIL = 'blog_detail'
# 在redis中保存已经爬取的url [集合数据类型], 用于去重
REDIS_URLS = 'urls'

# MQ相关
MQ_HOST = "101.132.242.86"
MQ_QUEUE = 'blog_detail'